package com.demo.mappers;
import org.apache.ibatis.annotations.Param;



/**
 * @Description:咨询预约表:mapper
 * @Date:2025-03-01
 * @author：author
*/
public interface AppointmentMapper<T,P> extends BaseMapper {


	/**
	 * 根据AppointmentId查询
	 */
	 T selectByAppointmentId(@Param("appointmentId") Long appointmentId);

	/**
	 * 根据AppointmentId更新
	 */
	 Integer updateByAppointmentId(@Param("bean")T t, @Param("appointmentId") Long appointmentId);

	/**
	 * 根据AppointmentId删除
	 */
	 Integer deleteByAppointmentId(@Param("appointmentId") Long appointmentId);

}